Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Selectively Displaying Video


VDSetKeyColor

The VDSetKeyColor function allows applications to set the key color.

All video digitizer components that support key colors must support this function.

pascal VideoDigitizerError VDSetKeyColor
                                  (VideoDigitizerComponent ci,
                                    long index);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
index
Specifies the new key color. The value of the index field corresponds to a color in the current color lookup table.
DESCRIPTION
Some video digitizer components support multiple key colors. The VDSetKeyColor function instructs such digitizer components to clear the key color list and insert a single entry for the specified color. Applications can then use the VDAddKeyColor function, described on page 8-84, to place additional colors into the key color list.

RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
qtParamErr-2202Invalid parameter value

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help